<template>
    <div class="headline">
        <img src="../assets/images/title_bg.png" class="headline_bg">
        <div class="title">
            <slot></slot>
        </div>
    </div>
</template>
<script setup>

</script>
<style scoped lang="scss">
.headline {
    width: 100%;
    width: 793px;
    height: 75px;
    position: relative;

    .headline_bg {
        width: 793px;
        height: 75px;
        object-fit: cover;
    }

    .title {
        height: 60px;
        padding-left: 16px;
        position: absolute;
        left: 0;
        top: 0;
        display: flex;
        align-items: center;
        font-size: 33px;
        font-family: "YouSheBiaoTiHei";
        color: #FFF;
    }
}
</style>